from django.urls import re_path, path

from faceapp.consumers import FaceConsumer

websocket_urlpatterns = [
    path('ws/', FaceConsumer.as_asgi()),
    re_path(r'face/(?P<group>\w+)/$', FaceConsumer.as_asgi()),
    re_path(r'ws/video/(?P<v_name>\w+)/$', FaceConsumer.as_asgi()),
]
